package com.fenggo.platform.ordering.repository;

import com.fenggo.platform.ordering.domain.Order;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * Created by huan on 2017/6/26.
 */
@Repository
public interface OrderRepository extends JpaRepository<Order, Long>, JpaSpecificationExecutor {

    Order findByOrderNO(String orderNo);

}
